package com.zx.cashiersystem.service;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by stone on 2017/1/19.
 */

public class ReceiveMessage {
    public static List<String> splite(String string){
        string =string.replace("\\}\\{","\\}-\\{");
        String[] str = string.split("-");
        List<String> list = new ArrayList<>();
        for (int i=0;i<str.length;i++){
            list.add(str[i]);
        }
        return list;
    }


//[content content]
}
